WindowCompat

Helper for accessing features in Window.

Properties

Link copied to clipboard
Flag for enabling the Action Bar.
Link copied to clipboard
Flag for requesting an Action Bar that overlays window content.
Link copied to clipboard
Flag for specifying the behavior of action modes when an Action Bar is not present.

Functions

Link copied to clipboard
Retrieves the single WindowInsetsControllerCompat of the window this view is attached to.
Link copied to clipboard
open fun <T : View?> requireViewById(@NonNull window: Window, @IdRes id: Int): T
Finds a view that was identified by the android:id XML attribute that was processed in onCreate, or throws an IllegalArgumentException if the ID is invalid, or there is no matching view in the hierarchy.
Link copied to clipboard
open fun setDecorFitsSystemWindows(@NonNull window: Window, decorFitsSystemWindows: Boolean)
Sets whether the decor view should fit root-level content views for WindowInsetsCompat.